package com.adups.monitor.entity;

import java.util.Date;


public class StatOTAEntity {
    private Long id;

    private Long productId;

    private Long deltaId;

    private String originVersion;

    private String targetVersion;

    private Integer countCheck;

    private Integer countDownload;

    private Integer countUpgrade;

    private Integer countDownfail;
    
    private Integer countUpgradefail;
    
    
    private Date statDate;//数据统计的日期

    private Date createTime;
    
    private Integer isStrategy;
    

	public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Long getDeltaId() {
        return deltaId;
    }

    public void setDeltaId(Long deltaId) {
        this.deltaId = deltaId;
    }

    public String getOriginVersion() {
        return originVersion;
    }

    public void setOriginVersion(String originVersion) {
        this.originVersion = originVersion == null ? null : originVersion.trim();
    }

    public String getTargetVersion() {
        return targetVersion;
    }

    public void setTargetVersion(String targetVersion) {
        this.targetVersion = targetVersion == null ? null : targetVersion.trim();
    }

    public Integer getCountCheck() {
        return countCheck;
    }

    public void setCountCheck(Integer countCheck) {
        this.countCheck = countCheck;
    }

    public Integer getCountDownload() {
        return countDownload;
    }

    public void setCountDownload(Integer countDownload) {
        this.countDownload = countDownload;
    }

    public Integer getCountUpgrade() {
        return countUpgrade;
    }

    public void setCountUpgrade(Integer countUpgrade) {
        this.countUpgrade = countUpgrade;
    }

    public Date getStatDate() {
		return statDate;
	}

	public void setStatDate(Date statDate) {
		this.statDate = statDate;
	}

	public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

	public Integer getIsStrategy() {
		return isStrategy;
	}

	public void setIsStrategy(Integer isStrategy) {
		this.isStrategy = isStrategy;
	}

	public Integer getCountDownfail() {
		return countDownfail;
	}

	public void setCountDownfail(Integer countDownfail) {
		this.countDownfail = countDownfail;
	}

	public Integer getCountUpgradefail() {
		return countUpgradefail;
	}

	public void setCountUpgradefail(Integer countUpgradefail) {
		this.countUpgradefail = countUpgradefail;
	}

	@Override
	public String toString() {
		return "StatOTAEntity [id=" + id + ", productId=" + productId + ", deltaId=" + deltaId + ", originVersion="
				+ originVersion + ", targetVersion=" + targetVersion + ", countCheck=" + countCheck + ", countDownload="
				+ countDownload + ", countUpgrade=" + countUpgrade + ", countDownfail=" + countDownfail
				+ ", countUpgradefail=" + countUpgradefail + ", statDate=" + statDate + ", createTime=" + createTime
				+ ", isStrategy=" + isStrategy + "]";
	}

}